<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    function Person() {
        this.name='frank';
        this.age= 30;
        this.say = function(){
            console.log('你好，我的名字是'+this.name+'，今年'+ this.age +'岁了');
        }
    }
    Person.prototype.eyes = 2;
    p1.say === p2.say   //false
    var p1 = new Person();
    p1.say();
    var p2 = new Person();
    p2.say();


    Person.prototype.eyes = 3;


//    var a1 = [];
//    var a2 = ['aa'];
//    a1.push('a');
//    a2.push('b')
</script>
</body>
</html>